<?php if (current_user_can('level_2')) {

if (in_category('gallery')) {include (TEMPLATEPATH . '/single_image.php');
}

else if (in_category('image')) {include (TEMPLATEPATH . '/single_singleimage.php');
}

else if (in_category('media')) {include (TEMPLATEPATH . '/single_media.php');
}

else { include (TEMPLATEPATH . '/single_standard.php');
}

 } else {


include (TEMPLATEPATH . '/single_noaccess.php');

} ?>